package de.hub.sar.itsec.sslfetcher;

import de.hub.sar.itsec.sslfetcher.fetcher.IFetcher;
import de.hub.sar.itsec.sslfetcher.saver.ISaver;

public class LoaderThread extends Thread {
	private final IFetcher fetcher;
	private final ISaver saver;
	
	public LoaderThread(final Runnable runnable, 
			final IFetcher fetcher, final ISaver saver) {
		super(runnable);
		this.fetcher = fetcher;
		this.saver = saver;
	}

	IFetcher getFetcher() {
		return fetcher;
	}

	ISaver getSaver() {
		return saver;
	}
}
